﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <crypto_keys>
    <key id="app_key" type="file" algorithm="rijndael">SharpEntitiesTest.key</key>
  </crypto_keys>

  
  <data_access>
    
    <databases>

      <database_descriptor id="SqlServerNorthWind">
        <assembly>ARD.Data.SqlServerDatabase.dll</assembly>
        <class>ARD.Data.SqlServerDatabase.Database</class>
        <configuration_section>
          <connection_string>
            <!-- "data source={0};initial catalog={1};user id={2};password={3};" -->
            <parameter name="Initial Catalog">NorthWind</parameter>
            <parameter name="Data Source">(local)</parameter>
            <parameter name="User">sa</parameter>
            <!-- P@ssw0rd -->
            <parameter name="Password" crypto_key_ref="app_key">MVGuJOUv2C+zJjNhGyPjgw==</parameter>
          </connection_string>
        </configuration_section>
      </database_descriptor>
      
      <database_descriptor id="OracleTest">
        <assembly>ARD.Data.OracleDatabase.dll</assembly>
        <class>ARD.Data.OracleDatabase.Database</class>
        <configuration_section>
          <connection_string>
            <parameter name="Data Source">XE</parameter>
            <parameter name="User">system</parameter>
            <parameter name="Password" crypto_key_ref="app_key">LS2iXA8C4iEHNsSWSxmN1g==</parameter>
          </connection_string>
        </configuration_section>
      </database_descriptor>

    </databases>

  </data_access>


</configuration>